package appapi.dto.bridge;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 车辆通行记录导出 实体类
 *
 * @author hlm
 * @since
 */
@Data
@ApiModel(description = "车辆通行记录导出")
public class CarInoutRecordExportDTO implements Serializable {


    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    @Excel(name = "设备名称",orderNum = "0",width = 50)
    private String parkName;

    /**
     * 所属项目
     */
    @ApiModelProperty(value="项目名称")
    @Excel(name = "所属项目",orderNum = "0",width = 50)
    private String projName;

    /**
     * 车牌号
     */
    @ApiModelProperty(value="车牌号")
    @Excel(name = "车牌号",orderNum = "0",width = 50)
    private String carNo;


    /**
     * 车辆类型  0工程车 1小汽车 2 临时车
     */
    @ApiModelProperty(value = "车辆类别  0工程车 1小汽车 2 临时车")
    @Excel(name = "车辆类别",orderNum = "0",width = 50 ,replace = {"工程车_0", "小汽车_1", "临时车_2"})
    private Integer carType;


    /**
     * 入场时间
     */
    @ApiModelProperty(value = "入场时间")
    @Excel(name = "入场时间",orderNum = "0",width = 50 , format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime inoutStarttime;
    /**
     * 离场时间
     */
    @ApiModelProperty(value = "离场时间")
    @Excel(name = "离场时间",orderNum = "0",width = 50 , format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime inoutEndtime;


}
